package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceHonourRankActivity 荣耀榜活动信息
type DanceHonourRankActivity struct {
	Id        int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	Icon      string         `json:"icon" gorm:"column:icon;type:varchar(256);not null;default:'';comment:icon"`
	Name      string         `json:"name" gorm:"column:name;type:varchar(256);not null;default:'';comment:活动名"`
	StartTime int64          `json:"startTime" gorm:"column:start_time;type:bigint;default:0;not null;comment:开始时间"`
	EndTime   int64          `json:"endTime" gorm:"column:end_time;type:bigint;default:0;not null;comment:结束时间"`
	IsUp      int            `json:"isUp" gorm:"column:is_up;type:tinyint;default:0;not null;comment:是否上架 0:未上架 1:上架中"`
	Remark    string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment:备注"`
	CreatedId int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`
	UpdateId  int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`
	CreatedAt time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
